PYPI_URL = {
    # North China
    "tuna": "https://pypi.tuna.tsinghua.edu.cn/simple",
    "pku": "https://mirrors.pku.edu.cn/pypi/simple",
    "bfsu": "https://mirrors.bfsu.edu.cn/pypi/web/simple",
    "nyi": "https://mirror.nyist.edu.cn/pypi/web/simple",
    # Northeast China
    "dnui": "https://mirrors.neusoft.edu.cn/pypi/web/simple",
    # Southwest China
    "lzu": "https://mirror.lzu.edu.cn/pypi/web/simple",
    "xjtu": "https://mirrors.xjtu.edu.cn/pypi/simple",
    # East China
    "sjtu": "https://mirror.sjtu.edu.cn/pypi/web/simple",
    "nju": "https://mirror.nju.edu.cn/pypi/web/simple",
    "njt": "https://mirrors.njtech.edu.cn/pypi/web/simple",
    # South China
    "sus": "https://mirrors.sustech.edu.cn/pypi/simple",
}

CONDA_CHANNEL = \
    """
    channels:
    - defaults
    show_channel_urls: true
    default_channels:
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    custom_channels:
    conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    """

APT_SOURCE = \
    """
    # newer versions of the distribution.
    deb https://mirror.sjtu.edu.cn/ubuntu focal main restricted
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal main restricted
    deb https://mirror.sjtu.edu.cn/ubuntu focal-updates main restricted
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal-updates main restricted
    deb https://mirror.sjtu.edu.cn/ubuntu focal universe
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal universe
    deb https://mirror.sjtu.edu.cn/ubuntu focal-updates universe
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal-updates universe
    deb https://mirror.sjtu.edu.cn/ubuntu focal multiverse
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal multiverse
    deb https://mirror.sjtu.edu.cn/ubuntu focal-updates multiverse
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal-updates multiverse
    deb https://mirror.sjtu.edu.cn/ubuntu focal-backports main restricted universe multiverse
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu focal partner
    # deb-src http://archive.canonical.com/ubuntu focal partner
    deb https://mirror.sjtu.edu.cn/ubuntu focal-security main restricted universe multiverse
    # deb-src https://mirror.sjtu.edu.cn/ubuntu focal-security main restricted universe multiverse
    """

